<%--
  Created by IntelliJ IDEA.
  User: ghp
  Date: 2022/10/4
  Time: 11:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>c_choose</title>
</head>
<body>
<c:choose>
  <c:when test="${empty param.username}">
    Unknown user
  </c:when>
  <c:when test="${param.username == 'itcast'}">
    ${param.username} is manager
  </c:when>
  <c:otherwise>
    ${param.username} is employee
  </c:otherwise>
</c:choose>
</body>
</html>
